package com.wsoft.portal.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Z001
 * @since 2024年12月27日 10:01:48
 */
@Getter
@Setter
@TableName("portal_module_sub")
@Schema(name = "PortalModuleSubEntity", description = "")
public class PortalModuleSubEntity extends BaseEntity {

    @Schema(description = "所属板块")
    @TableField("portal_module_id")
    private Long portalModuleId;

    @Schema(description = "类型(page/link/dc)")
    @TableField("type")
    private String type;

    @Schema(description = "json数组(返回数据id，图标、名称、路由)")
    @TableField("value")
    private String value;

    @Schema(description = "子版块标题(默认菜单名称)")
    @TableField("title")
    private String title;

    @Schema(description = "是否显示查询")
    @TableField("set_is_query")
    private Integer setIsQuery;

    @Schema(description = "是否显示分页")
    @TableField("set_is_page")
    private Integer setIsPage;

    @Schema(description = "显示单页数量")
    @TableField("set_page_count")
    private Integer setPageCount;

    @Schema(description = "显示字段(code/name数组json)")
    @TableField("set_table_col")
    private String setTableCol;

    @Schema(description = "行高度")
    @TableField("set_table_row_height")
    private Integer setTableRowHeight;

    @Schema(description = "是否显示头")
    @TableField("set_table_head_show")
    private Integer setTableHeadShow;

    @Schema(description = "显示大小")
    @TableField("set_size")
    private String setSize;

    @Schema(description = "是否隐藏纵向边框")
    @TableField("set_is_hidden_long_border")
    private Integer setIsHiddenLongBorder;

    @Schema(description = "是否隐藏所有边框")
    @TableField("set_is_hidden_all_border")
    private Integer setIsHiddenAllBorder;

    @Schema(description = "是否显示斑马纹")
    @TableField("set_is_stripe")
    private Integer setIsStripe;
}
